home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Screenblankers / Blanker / Source / Blankers / FlyingToaster / defaults.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-27  |  348 b   |  20 lines

  1. #include <exec/types.h>
  2. #include <intuition/intuition.h>
  3. #include "/defs.h"
  4.  
  5. struct mPrefObject {
  6.     LONG    Objects;
  7.     LONG    Speed;
  8. };
  9.  
  10. VOID defaults( struct bMessage *bMsg )
  11. {
  12.     static struct mPrefObject mPO = { 20L, 2L };
  13.  
  14.     bMsg->bm_Mod = INVALID_ID;
  15.     bMsg->bm_Dep = 1;
  16.  
  17.     bMsg->bm_Info = "Flying Toaster Module";
  18.     bMsg->bm_Data = ( UBYTE * )( &mPO );
  19. }
  20.